package top.younote.cherry.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import top.younote.cherry.schedule.DailySchedule;

/**
 * @Description: 测试项目
 * @Author: duanluyao
 * @CreateTime: 2021/10/19 19:58:47
 */
@RestController
public class TestController {
    @Autowired
    private DailySchedule dailySchedule;

    @GetMapping("/test/selenium")
    public void testSelenium() {
        dailySchedule.sendDailyBaiduRealtime();
//        dailySchedule.sendDailyWeatherAndCalender();
    }

    @GetMapping("/health")
    public String healthCheck() {
        return "success!";
    }
}
